package com.lottery.system.common.errorcode;

/**
 * Description: 控制层的错误码
 * Param: * @param null
 * @Author: xiaoxie
 * Date: 22:01 2024/8/27
*/
public interface ControllerErrorCodeConstants {
    //--------- 人员模块错误码 ----------
    ErrorCode REGISTER_ERROR = new ErrorCode(100,"用户注册失败!");
    ErrorCode CAPTCHA_ERROR = new ErrorCode(101,"获取验证码失败!");
    ErrorCode USER_LOGIN_ERROR = new ErrorCode(102,"用户登录失败!");


    //--------- 活动模块错误码 ----------
    ErrorCode CREATE_ACTIVITY_ERROR = new ErrorCode(200,"创建活动失败!");
    ErrorCode GET_ACTIVITY_LIST_ERROR = new ErrorCode(201,"创建活动列表失败!");
    ErrorCode GET_ACTIVITY_DETAIL_ERROR = new ErrorCode(202,"创建活动详细信息失败!");



    //--------- 奖品模块错误码 ----------
    ErrorCode PRIZE_LIST_ERROR = new ErrorCode(300,"获取奖品列表失败!");




    //--------- 抽奖模块错误码 ----------
}
